Stored Procedures [dbo].[BAEImisProductKitGetAllChildren]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@ParentProductCodevarchar(31)31
SQL Script
create procedure [dbo].[BAEImisProductKitGetAllChildren] @ParentProductCode as
varchar(31)
AS
    SELECT *
    FROM OrderProduct AS op JOIN Product_Kit AS pk ON op.ProductCode COLLATE database_default = pk.ITEM_PRODUCT_CODE COLLATE database_default
    WHERE pk.PRODUCT_CODE = @ParentProductCode;

GO
Uses